package org.scirp.ijmis.dao.personpaper.impl;

import java.util.List;

import org.scirp.ijmis.dao.base.impl.BaseDAOImpl;
import org.scirp.ijmis.dao.personpaper.IExpertSourcesDAO;
import org.scirp.ijmis.po.personpaper.ExpertSources;

public class ExpertSourcesDAOImpl extends BaseDAOImpl<ExpertSources> implements IExpertSourcesDAO {

	private static final String className = ExpertSourcesDAOImpl.class.toString();

	public List<ExpertSources> selectAll() {
		String hql = "from ExpertSources order by pid asc";
		return super.ExecuteQuery(hql, className + "-->selectAll");
	}

	public ExpertSources selectById(Object id) {
		return (ExpertSources) super.selectById(id, className + "-->selectById");
	}

}
